<!--<input type='text' ng-model='info.select_label' placeholder='search...'-->
<!--ng-change="$ctrl.my_tree.set_select_branch(info.select_label)">-->
<button class="btn btn-primary btn-sm"
        ng-click="$ctrl.try_adding_a_branch();"
        ng-disabled="($ctrl.selectedBranch.level != '0' && $ctrl.selectedBranch.level != '1' && $ctrl.selectedBranch.level != '2') || $ctrl.selectedBranch.attrs.menuChangeType == 'delete'">
        新增
</button>
<button class="btn btn-warning btn-sm"
        ng-click="$ctrl.updateBranch();"
        ng-disabled="$ctrl.selectedBranch.level=='0' || $ctrl.selectedBranch.attrs.menuChangeType == 'delete'">
        修改
</button>
<button class="btn btn-danger btn-sm"
        ng-click="$ctrl.delBranch();"
        ng-disabled="$ctrl.selectedBranch.level=='0' || $ctrl.selectedBranch.attrs.menuChilds != null || $ctrl.selectedBranch.attrs.menuChangeType == 'delete'">
        删除
</button>
<!-- <button ng-click="$ctrl.move('up');" class="btn btn-default btn-sm"
        ng-disabled="$ctrl.selectedBranch.attrs.menuLevel=='0' || $ctrl.selectedBranch.attrs.menuLevel=='1' ">
    上移
</button>
<button ng-click="$ctrl.move('down');" class="btn btn-default btn-sm"
        ng-disabled="$ctrl.selectedBranch.attrs.menuLevel=='0'">
    下移
</button> -->
<br>
<br>
<div style="height:350px; overflow:auto">
    <abn-tree
            tree-data='$ctrl.my_data'
            tree-control='$ctrl.my_tree'
            on-select='$ctrl.my_tree_handler(branch)'
            expand-level='4'
            icon-leaf='fa fa-file-o'
            icon-expand='fa fa-plus'
            icon-collapse='fa fa-minus'
            is-tree-data-fun=true
            tree-data-fun='$ctrl.dataFun(info,treeIcon,visible)'
    >
    </abn-tree>
</div>

 